
Ext.Loader.setConfig({
   enabled: true
});

Ext.application({
   name: 'PackageManager',
   appFolder: '/js/scoremanager',
   

   controllers: [
       'PackageController'
   ],

   launch: function() {

       Ext.create('Ext.container.Viewport', {
           id: 'base_viewport',

		   items: [
				{
					xtype: 'packageview',
                    margin: '10 5 3 10'
				},
                {
                    xtype: 'button',
                    text: 'Change State',
                    action: 'changeState',
                    margin: '10 5 3 10',
                    id: 'changeState'
                }
			]
       });
   }
});